package com.hsd.znsh.service;

import com.hsd.znsh.entity.ProductType;
import com.hsd.znsh.pojo.output.TreeNode;

import java.util.List;
import java.util.Map;

public interface ProductTypeService extends BaseService {

    Map<Integer, TreeNode>  getProductTypeList();

    ProductType getProductTypeInfo(Integer id);

    ProductType updateProductType(ProductType productType);

    ProductType addProductType(ProductType productType);

    void deletedProductType(Integer id);
}
